﻿using System;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
            {
            Book book = new Book("阿Q正传",99,6666);

            //book.AgaginNameIdPrice("十万个冷笑话II", 66, 9999);

            //book.Name = "十万个冷笑话I";
            //book.Id = 10000;

            book.Price = 100000;

            /*采用set，get可以修改构造函数的数据*/

            book.NameIdPrice();


            
            //Static.NewAppleBook(100, "童话故事", "500g");

            //Static.AppleBook();



        }
    }
}
